$(function($){
    var title_name=document.getElementById('title');
    var title=title_name.value;
    XuntongJSBridge.call('setWebViewTitle',{'title':title});

    XuntongJSBridge.call('createPop',
        {
            'popTitle':"重置",
            'popTitleCallBackId':"123"

        },
        function(result){
            if (result.success == true || result.success == 'true') {
                var callBackId = result.data ? result.data.callBackId : '';
                if (callBackId == '123') {
                    window.location.reload();
                }
            }
        }
    );
})